@charset "utf-8";

//重用值
$subjectColor:#0dafd2;
$minorColor:#787777;
$highlightColor:#ffffff;
$bgColor:#000000;

//清除浮动
.clearfix::after{
    content: "";
    display: block;
    clear: both;
}
//清除a标签下划线样式
a{
   text-decoration: none;
}
//清除list样式
ul li{
    list-style: none;
}
*{
    margin: 0;
    padding: 0;
}

.header_div{
    width: 100%;
    min-width: 1060px;
    background: $bgColor;
}
.header_div_top1{
    width: 100%;
    height: 116px;
    div{
        float: left;
    }
    div:first-of-type{
        width: 40%;
        min-width: 282px;
        height: 116px;
        line-height: 116px;
        img{
            margin-left: 42px;
        }
    }
}
.header_div_top1_list{
    width: 60%;
    height: 116px;
    ul{
        margin-right: 38px;
       margin-top: 20px;
    }
   ul li{
        float: right;
        padding:0px 15px ;
    }
    ul li a{
        padding-bottom: 5px; 
    }
    ul li a:hover{
              transition: all 0.5s ease;
            color: $subjectColor;
            border-bottom: 1px solid $subjectColor;
            box-sizing: border-box;
        }    
    ul:first-of-type{
        li:nth-of-type(6){
            font-size: 12px;
            color: $subjectColor;
        }
        li:nth-of-type(5){
            font-size: 12px;
            color:$minorColor;
        }
        li:last-of-type{
            border-right: 1px solid $minorColor;
        }
       a{
           color: $minorColor;
       }
    }
    ul:last-of-type{
        li{
            border-right: 1px solid $minorColor;
        }
        li:first-of-type{
            border-right: none;
        }
        li a{
            font-size: 24px;
             //transition: all 1s ease;
            color: $highlightColor;
            &:hover{
                color: $subjectColor;
            }
        }
    }
    
}
.header_div_top2{
    height: 220px;
    div.head_icon{
        width: 30%;
        //width: 390px;
        height: 100%;
        background: $highlightColor;
        float: left;
        &>div{
            float: left;  
            width: 50%;
        }
        div.head_icon_left{
            text-align: center;
            &>div:first-of-type{
                margin-top:20px;
            }
            &>div:nth-of-type(2){
               width: 120px;
               margin: 0 auto;
                   & div{
                        width: 58px;
                        float: left;
                        margin-top:20px;
                        & p:first-of-type{
                            font-size: 12px;
                            color: $minorColor;
                        }
                        & p:last-of-type{
                            font-size: 18px;
                            font-weight: bold;
                        }
                    }
                    & div:first-of-type{
                        border-right: 2px solid $minorColor;
                        
                    }
                } 
        }
        div.head_icon_right{
            &>div:first-of-type{
                height: 112px;margin-top: 20px;
                & p{
                    &:first-of-type{
                        font-size: 24px;
                        font-weight: bold;
                        span{
                            font-size: 12px;
                            color: $subjectColor;
                            font-weight: normal;
                            margin-left: 10px;
                        }
                    }
                    &:nth-of-type(2){
                        font-size: 12px;
                        color: $minorColor;
                        line-height: 20px;
                        letter-spacing: 2px;
                    }
                    &:nth-of-type(3){
                        font-size: 12px;
                        color: $minorColor;
                        line-height: 20px;
                        letter-spacing: 2px;
                    }
                    &:last-of-type{
                        font-size: 12px;
                        color: $subjectColor;
                        line-height: 20px;
                        
                        img{vertical-align: middle;margin-left: 5px;}
                    }
                }
            }
            &>div:last-of-type{
                height: 32px;
                margin-top:40px;
                
                &>a{
                    padding:0px 5px;
                    &:hover{
                        border-bottom: 1px solid $subjectColor;
                    }
                }
            }
        }
    }
    div.header_div_top2_bg{
        width: 70%;
        //width: 670px;
        float: left;
        height: 220px;
        overflow: hidden;
        img{
            width: 100%;
        }
    }
}
.header_div_top3{
    height: 70px;
    width: 100%;
    line-height: 70px;
    border-bottom: 2px solid $minorColor;
    ul{
        margin-left: 34px;
    }
    ul li{
        float: left;
        margin: 0 20px;
        a{
            font-size: 18px;
            color: $minorColor;
            &:hover{
                color: $highlightColor;
                color: #ffffff;
            }
        }
        &:last-of-type{
            float: right;
                font-size: 14px;
                margin-right: 52px;
                div.search_div{
                    width: 200px;
                    height: 25px;
                    border: 1px solid $minorColor;
                    margin-top: 25px;
                    
                    
                    input.header_div_top3_sec_search{
                        //border:1px solid $minorColor;
                        //border-right: none;
                        float: left;
                        border: none;
                        background: #000000;
                        padding: 3px 5px;
                        color: $subjectColor;
                        outline: none;
                    }
                    input:last-of-type{
                        //border:1px solid $minorColor;
                        //border-left: none;
                        float: right;
                        border: none;
                        width: 20px;
                        padding: 3px 2px;
                        background: url(../img/header/search_buttom.gif) no-repeat center;
                    }
                }
        }
    }
}





























